package com.dragon.modules.yuegou.entity.busd;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 商圈线下积分回调设置实体类<br>
 * 对应的表为：busd_pt_config<br>
 * 
 * @author pbuilder generated
 * @date 2023-03-15 10:37:23
 * @company sgy
 * @version 2.0
 */
@TableName("busd_pt_config")
@ApiModel(description = "商圈线下积分回调设置")
public class PtConfigEntity {
	protected String id;

    /** 商圈id */
	@ApiModelProperty("商圈id")
	protected String busdId;

    /** 商管云appid */
	@ApiModelProperty("商管云appid")
	protected String aliSgyPid;

    /** 支付宝商户appid */
	@ApiModelProperty("支付宝商户appid")
	protected String aliMerchantAppid;

    /** 支付宝商户公钥 */
	@ApiModelProperty("支付宝商户公钥")
	protected String aliPublicKey;

    /** 支付宝商户公钥 */
	@ApiModelProperty("支付宝商户公钥")
	protected String aliMerchantKey;

    /** 支付宝商户私钥 */
	@ApiModelProperty("支付宝商户私钥")
	protected String aliPrivateKey;

    /** 逻辑删除，1表示已删除,0表示未删除 */
	@ApiModelProperty("逻辑删除，1表示已删除,0表示未删除")
	protected Boolean del;

	/**
	 * 构造一个空商圈线下积分回调设置实体对象
	 */
	public PtConfigEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个商圈线下积分回调设置实体对象
	 * 
	 * @param other 其它对象
	 */
	public PtConfigEntity(PtConfigEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.aliSgyPid = other.aliSgyPid;
     	this.aliMerchantAppid = other.aliMerchantAppid;
     	this.aliPublicKey = other.aliPublicKey;
     	this.aliMerchantKey = other.aliMerchantKey;
     	this.aliPrivateKey = other.aliPrivateKey;
     	this.del = other.del;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈id
	 * 
	 * @return busdId 商圈id
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈id
	 * 
	 * @param busdId 商圈id
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取商管云appid
	 * 
	 * @return aliSgyPid 商管云appid
	 */
	public String getAliSgyPid() {
		return aliSgyPid;
	}
  	
	/**
	 * 设置商管云appid
	 * 
	 * @param aliSgyPid 商管云appid
	 */
	public void setAliSgyPid(String aliSgyPid) {
		this.aliSgyPid = aliSgyPid;
	}

	/**
	 * 获取支付宝商户appid
	 * 
	 * @return aliMerchantAppid 支付宝商户appid
	 */
	public String getAliMerchantAppid() {
		return aliMerchantAppid;
	}
  	
	/**
	 * 设置支付宝商户appid
	 * 
	 * @param aliMerchantAppid 支付宝商户appid
	 */
	public void setAliMerchantAppid(String aliMerchantAppid) {
		this.aliMerchantAppid = aliMerchantAppid;
	}

	/**
	 * 获取支付宝商户公钥
	 * 
	 * @return aliPublicKey 支付宝商户公钥
	 */
	public String getAliPublicKey() {
		return aliPublicKey;
	}
  	
	/**
	 * 设置支付宝商户公钥
	 * 
	 * @param aliPublicKey 支付宝商户公钥
	 */
	public void setAliPublicKey(String aliPublicKey) {
		this.aliPublicKey = aliPublicKey;
	}

	/**
	 * 获取支付宝商户公钥
	 * 
	 * @return aliMerchantKey 支付宝商户公钥
	 */
	public String getAliMerchantKey() {
		return aliMerchantKey;
	}
  	
	/**
	 * 设置支付宝商户公钥
	 * 
	 * @param aliMerchantKey 支付宝商户公钥
	 */
	public void setAliMerchantKey(String aliMerchantKey) {
		this.aliMerchantKey = aliMerchantKey;
	}

	/**
	 * 获取支付宝商户私钥
	 * 
	 * @return aliPrivateKey 支付宝商户私钥
	 */
	public String getAliPrivateKey() {
		return aliPrivateKey;
	}
  	
	/**
	 * 设置支付宝商户私钥
	 * 
	 * @param aliPrivateKey 支付宝商户私钥
	 */
	public void setAliPrivateKey(String aliPrivateKey) {
		this.aliPrivateKey = aliPrivateKey;
	}

	/**
	 * 获取逻辑删除，1表示已删除,0表示未删除
	 * 
	 * @return del 逻辑删除，1表示已删除,0表示未删除
	 */
	public Boolean getDel() {
		return del;
	}
  	
	/**
	 * 设置逻辑删除，1表示已删除,0表示未删除
	 * 
	 * @param del 逻辑删除，1表示已删除,0表示未删除
	 */
	public void setDel(Boolean del) {
		this.del = del;
	}

    public String toString() {
		return new StringBuilder().append("PtConfigEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",aliSgyPid=").append(aliSgyPid).
			append(",aliMerchantAppid=").append(aliMerchantAppid).
			append(",aliPublicKey=").append(aliPublicKey).
			append(",aliMerchantKey=").append(aliMerchantKey).
			append(",aliPrivateKey=").append(aliPrivateKey).
			append(",del=").append(del).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public PtConfigEntity copy() {
		return new PtConfigEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 商圈id */
	public static final String COL_BUSD_ID = "busd_id";

    /** 商管云appid */
	public static final String COL_ALI_SGY_PID = "ali_sgy_pid";

    /** 支付宝商户appid */
	public static final String COL_ALI_MERCHANT_APPID = "ali_merchant_appid";

    /** 支付宝商户公钥 */
	public static final String COL_ALI_PUBLIC_KEY = "ali_public_key";

    /** 支付宝商户公钥 */
	public static final String COL_ALI_MERCHANT_KEY = "ali_merchant_key";

    /** 支付宝商户私钥 */
	public static final String COL_ALI_PRIVATE_KEY = "ali_private_key";

    /** 逻辑删除，1表示已删除,0表示未删除 */
	public static final String COL_DEL = "del";
}
